package com.yunxi.service.localService.customer;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.service.IServicePlus;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.customer.pojo.CustomerVO;
import com.yunxi.customer.pojo.SatCustomerIntentionVO;
import com.yunxi.model.customer.Customer;
import com.yunxi.model.customer.SatCustomerIntention;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 客户信息 服务类
 * </p>
 *
 * @author 
 * @since 2019-05-09
 */
public interface CustomerService extends IServicePlus<Customer> {

   CustomerVO load( String customerNo , String partnerCode);

   SatCustomerIntentionVO getCustomerClueInfo(SatCustomerIntentionVO satCustomerIntention);

   List<CustomerVO> allList(CustomerVO customerVO)throws Exception;

   List<CustomerVO> todayCustomerList(CustomerVO customerVO)throws Exception;

    CustomerVO getByPhone(String phone , String partnerCode);

   CustomerVO getCustomerByPhone(String phone, String partnerCode);

   String getVehicleNameByVehicleCode(String vehicleCode);

   String getFirstCreateCustomerPartnerCode(String phone);

   List<CustomerVO> getCustomerURM(String phone);

    PageInfo<CustomerVO> pageByOem(CustomerVO customerVO, Integer pageNum, Integer pageSize);
}
